<?php

if( isset($title) )
	echo "<h1>"
		. $title
		. "</h1>";

echo $this->display_flash();
if( isset( $assets ) && is_array( $assets ) )
	foreach( array( 'js', 'css' ) as $assets_type )
		if( isset( $assets[$assets_type] ) )
			assets::instance( ) ->$assets_type( @$assets[$assets_type] );

echo isset($out)&&!empty($out) ? $out : '';

if( is_array($item) && !empty($item) ) {

	echo "<pre>";
	var_dump($item);
	echo "</pre>";
	//echo $this->smarty_function( '_table', array( 'from' => $items, 'cols' => $cols, 'class' => isset($class) ? $class : 'plainlist', 'grouping' => @$grouping, 'table_row_handler' => @$table_row_handler, 'table_row_class' => @$table_row_class ) );
	

}
else
{
	echo "<p>" . __('Nothing to show') . "</p>";
}


echo $this->block('::after');
